//
//  OMOrderDetailModel.h
//  OMENGO
//
//  Created by 李峰 on 2017/1/3.
//  Copyright © 2017年 Kamfat. All rights reserved.
//

#import "BaseModel.h"
#import "OMProduct.h"
@interface OMOrderDetailModel : BaseModel

@property (nonatomic, copy) NSString *id;           //订单ID
@property (nonatomic, copy) NSString *sn;           //订单编号
@property (nonatomic, copy) NSString *orderstr;     //订单状态
@property (nonatomic, copy) NSString *amount;       //订单总额
@property (nonatomic, copy) NSString *creation_date;//下单时间
@property (nonatomic, copy) NSString *consignee;    //收货人
@property (nonatomic, copy) NSString *phone;        //收货人手机号
@property (nonatomic, copy) NSString *address;      //收货人地址
@property (nonatomic, copy) NSString *shipping_method_name;     //配送方式
@property (nonatomic, copy) NSString *shippingstr;              //物流状态
@property (nonatomic, copy) NSString *service_date;             //服务时间／配送时间
@property (nonatomic, copy) NSString *payment_method_name;      //支付方式
@property (nonatomic, copy) NSString *paymentstr;               //支付状态

@end

@interface ListModel : BaseModel <OMProductProtocol>

@property (nonatomic, assign) NSUInteger quantity;     //商品数量
@property (nonatomic, copy) NSString *full_name;    //订单内容
@property (nonatomic, copy) NSString *image;        //图片地址
@property (nonatomic, copy) NSString *pricestr;     //单价

///<--OMProductProtocol-->
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *id;
@property (nonatomic, copy) NSString *name;

@end



@interface GoodsModel : BaseModel                   //商品数据model


@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSArray <ListModel *>*list;


@end


